<% if signed_in? %>
	<div id="login_signed" class="round shadow">
		<p>Bienvenue, <br /><strong><%= current_user.email %></strong></p>
		<%= link_to "Se deconnecter", sign_out_url, :method => :delete , :id => "logout_btn", :class => "button buttonred shadow round gradient" %>
	</div>
<% else %>
	<div id="login_signin">
		<%= link_to "Se connecter", {:controller=> 'sessions' , :action => 'new' }, :class => "button buttongreen shadow round gradient", :remote => true  %>
	</div>
	
	<div id="login_signup">
		<%= link_to "S'inscrire", {:controller=> 'users' , :action => 'new' }, :class => "button buttonblue shadow round gradient" , :remote => true %>
	</div>
<% end %>